home *** CD-ROM | disk | FTP | other *** search
/ Cre@te Online 2000 December / Cre@teOnline CD05.iso / MacSoft / XML ConsoleMax.sea / XML ConsoleMax / Required / esc.jar / com / extensibility / xa / EntityModel$1.class (.txt) < prev    next >
Encoding:
Java Class File  |  2000-06-30  |  1.1 KB  |  24 lines

  1. package com.extensibility.xa;
  2.  
  3. import com.extensibility.xml.NotationDeclaration;
  4. import java.util.Enumeration;
  5.  
  6. class EntityModel$1 implements Enumeration {
  7.    // $FF: synthetic field
  8.    final EntityModel this$0;
  9.    Enumeration source;
  10.  
  11.    public boolean hasMoreElements() {
  12.       return this.source.hasMoreElements();
  13.    }
  14.  
  15.    public Object nextElement() {
  16.       return ((NotationDeclaration)this.source.nextElement()).getName();
  17.    }
  18.  
  19.    EntityModel$1(EntityModel var1) {
  20.       this.this$0 = var1;
  21.       this.source = this.this$0.doc.getDeclarations(Class.forName("com.extensibility.xml.NotationDeclaration"));
  22.    }
  23. }
  24.